package com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * vip卷
 */
@Data
@Entity
public class VipVoucher implements Serializable {
    private static final Long serialVersionUID = 1L;

    /**
     * 消费卷 随机生成的uuid
     */
    @Id
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.NONE)
    @Column(columnDefinition = "varchar(100)")
    private String id;
    /**
     * vip级别
     */
    @ApiModelProperty("vip级别")
    @Column(columnDefinition = "varchar(10)")
    private String levelId;
    private String crName;
    private String crId;
    private Date crDate;
    /**
     * 是否可用
     */
    private String isAvailable;


}
